package com.alterzhang.userservice.zk;

import java.util.Map;

/**
 * Created by zhangshuhan on 2019/2/27.
 */
public class TestZKLock {


    public static void main(String[] args) throws InterruptedException {
        Thread a = new Thread(new TicketThread(), "A");
        Thread b = new Thread(new TicketThread(), "B");

        a.start();
        b.start();
    }
}
